﻿using AutoMapper;
using CustomerDTO;
using J.Customer.Application.Command.MemberCardCommand;
using J.CustomerGet.Application.Command.CustomerListCommand;
using J.CustomerModel;

namespace J.CustomerGet.AutoMapper
{
    public class CustomerAddProfile:Profile
    {
        public CustomerAddProfile()
        {
            CreateMap<CustomerAddCommand, CustomerList>().ReverseMap();
            CreateMap<CustomerShowCommand, CustomerShowDto>().ReverseMap();
            CreateMap<MemberCardAddCommand, MemberCard>().ReverseMap();
        }
    }
}
